#ifndef TCPSERVER_H
#define TCPSERVER_H

#include <QObject>
#include <QTcpServer>
#include <QString>


class Connection;


class Server : public QTcpServer
{
    Q_OBJECT
	
public:
    Server(QObject *parent = 0);
	~Server();
	
signals:
    void newConnection(Connection *connection);
	
protected:
    void incomingConnection(int socketDescriptor);
};

#endif // TCPSERVER_H
